package com.qqt.csr.route.vo.resp;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.mongodb.core.mapping.Field;
import org.springframework.data.mongodb.core.mapping.FieldType;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "RouteRulePageRespVO", description = "路由规则分页")
public class RouteRulePageRespVO implements Serializable {
    @Serial
    private static final long serialVersionUID = -3053759147883689624L;

    @Schema(description = "路由id")
    private Integer id;

    @Schema(description = "策略名称")
    private String name;

    @Schema(description = "创建人名称")
    private String creatorName;

    @Schema(description = "是否已被调用：0 否；1 是")
    private Integer configFlag;

    @Schema(description = "是否启用：0 否；1 是")
    private Integer enableFlag;

    @Schema(description = "更新时间")
    private Date updateTime;
}
